package com.ttt.one.waiguagg.dao;

import com.ttt.one.waiguagg.entity.InfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 一个外挂账号，会有多个举报信息,直到被永封该账号不会再接受新的举报信息。
 * 
 * @author ttt
 * @email 496427196@qq.com
 * @date 2021-08-09 10:17:14
 */
@Mapper
public interface InfoDao extends BaseMapper<InfoEntity> {

    List<InfoEntity> findListAll(String key,String reviewStatus, Long currentUser,Integer type);

    InfoEntity getByIdAndCuser(Long id, Long currentUser,Integer type);
}
